{% load humanize %}

{% if status == "down" %}
The check "{{ check.name_then_code|safe }}" is DOWN.{% if ping %} Last ping was {{ ping.created|naturaltime }}.{% endif %}
{% else %}
The check "{{ check.name_then_code|safe }}" received a ping and is now UP.
{% endif %}
